package biz;

import java.util.Date;
import java.util.List;

import pojo.MissionRelations;
import pojo.Missions;
import pojo.ProjectMissions;
import pojo.Users;
import pojo.view.ProjectDynmic;
import pojo.view.ProjectUser;
import pojo.view.ScoreProjectUser;

public interface ProjectManagerBiz {

	
//	public List<Users> projectUserFenYe(int projectteamUserNowNo,int projectid);
//	public int getProjectUserTotalNo(int projectid);
//	List<Users> getAllProjectUserByProjectId(int projectid);
//	public List<ProjectMission> getAllProjectMission(int urpid);
//	public void addProjectMission(String missionName, String description, int urpid);
//	public ProjectMission getProjectMissionByProMisId(int projecmissiontid);
//	public List<ProjectMission> getAllProjectMissionByProjectId(int projectid);
	
	public List<Users> projectUserFenYe(int projectteamUserNowNo,int projectid);
	public int getProjectUserTotalNo(int projectid);
	List<Users> getAllProjectUserByProjectId(int projectid);
	public List<ProjectMissions> getAllProjectMissionByProjectId(int projectid);
	public ProjectMissions getProjectMissionByProMisId(int projecmissiontid);
	public void addProjectMissionAndGetId(ProjectMissions projectmission);
	public void addRelationalTable(MissionRelations mr);
	public int getUrpIdByProMisId(int projectmissiontid);
	public int getProjectIdByUrpId(int urpid);
	public void addMissionAndGetId(String missionName, String description, Date date, int urpid,int projectmissiontid);
	public List<Missions> getAllMissionByProMisId(int projectmissiontid);
	public List<ProjectUser> getAllUsersByProjectId(int projectid);
	public int getUrpIdByUidAndPid(int userid, int projectid);
	public ScoreProjectUser getScoreUserByUrpId(int urpid);
	public void scoreProMember(int urpid, int subjectivescore);
	public String getPrograsePersent(String projectid);
	/*public int getProjectUserTotalNo();*/
	/*public List<Users> getAllProjectUserByProjectId();*/
	public List<ProjectDynmic> getAllProjectDynamic(int projectid);

}
